//
//  UIColor+hf.h
//  QiBaoTong
//
//  Created by 韩艳锋 on 2019/6/17.
//  Copyright © 2019 策驭. All rights reserved.
//

#import <UIKit/UIKit.h>

//#define COLOR_STR(STRING) [UIColor colrWithString:@"STRING"]

//#define COLOR_STRALPHA(UINT16,CGFLOAT) [[UIColor colrWithString:@"STRING"] colorWithAlphaComponent:CGFLOAT]

#define COLOR_ARGB_LITERAL(ARGB_STRING_LITERAL) [UIColor colrWithARGBString:@#ARGB_STRING_LITERAL]

#define COLOR_ARGB(ARGB_STRING) [UIColor colrWithARGBString:ARGB_STRING]

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (hf)

+(instancetype)coloRandom;
+(instancetype)colrWithString:(NSString*)string;
+(instancetype)colrWithARGBString:(NSString*)string;
@end

NS_ASSUME_NONNULL_END
